package com.github.catvod.spider.merge;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.util.zip.GZIPInputStream;

public class au {
  public static String V0(String paramString) {
    try {
      byte[] arrayOfByte1 = aF.h(paramString);
      ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream();
      this(arrayOfByte1);
      GZIPInputStream gZIPInputStream = new GZIPInputStream();
      this(byteArrayInputStream);
      ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
      this();
      byte[] arrayOfByte2 = new byte[1024];
      while (true) {
        int i = gZIPInputStream.read(arrayOfByte2);
        if (i != -1) {
          byteArrayOutputStream.write(arrayOfByte2, 0, i);
          continue;
        } 
        gZIPInputStream.close();
        byteArrayOutputStream.close();
        return byteArrayOutputStream.toString("UTF-8");
      } 
    } catch (Exception exception) {
      exception.printStackTrace();
      return null;
    } 
  }
  
  public static String h(byte[] paramArrayOfbyte) {
    GZIPInputStream gZIPInputStream = new GZIPInputStream(new ByteArrayInputStream(paramArrayOfbyte));
    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    paramArrayOfbyte = new byte[1024];
    while (true) {
      int i = gZIPInputStream.read(paramArrayOfbyte);
      if (i == -1)
        return byteArrayOutputStream.toString("UTF-8"); 
      byteArrayOutputStream.write(paramArrayOfbyte, 0, i);
    } 
  }
}


/* Location:              /Users/hetaiyi/Desktop/my/tech/java/study/aa/temp/temp.jar!/com/github/catvod/spider/merge/au.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */